Python Libraries CheatSheet

sys

sys Variables

sys.<variable_name>


In [32]:
import sys
print("sys.argv  = {}".format(sys.argv))  # Command line args 
print()
print("sys.builtin_module_names  = {}".format(sys.builtin_module_names))  # Linked C modules 
print()
print("sys.byteorder  = {}".format(sys.byteorder))  # Native byte order 
print()
print("sys.exec_prefix   = {}".format(sys.exec_prefix ))  # Root directory 
print()
print("sys.executable  = {}".format(sys.executable))  # Name of executable 
print()
print("sys.modules  = {}".format(sys.modules))  # Loaded modules 
print()
print("sys.path  = {}".format(sys.path))  # Search path 
print()
print("sys.platform  = {}".format(sys.platform))  # Current platform (Windows, Linux, Darwin (Mac))
print()
print("sys.stdin  = {}".format(sys.stdin))  # File Objects for I/O 
print()
print("sys.stdout  = {}".format(sys.stdout))  # File Objects for I/O 
print()
print("sys.stderr  = {}".format(sys.stderr))  # File Objects for I/O


sys.argv  = ['/home/zas/anaconda3/lib/python3.6/site-packages/ipykernel_launcher.py', '-f', '/run/user/1000/jupyter/kernel-77df75ef-0a4b-4640-8b9a-d88e516aead4.json']

sys.builtin_module_names  = ('_ast', '_codecs', '_collections', '_functools', '_imp', '_io', '_locale', '_operator', '_signal', '_sre', '_stat', '_string', '_symtable', '_thread', '_tracemalloc', '_warnings', '_weakref', 'atexit', 'builtins', 'errno', 'faulthandler', 'gc', 'itertools', 'marshal', 'posix', 'pwd', 'sys', 'time', 'xxsubtype', 'zipimport')

sys.byteorder  = little

sys.exec_prefix   = /home/zas/anaconda3

sys.executable  = /home/zas/anaconda3/bin/python

sys.modules  = {'builtins': <module 'builtins' (built-in)>, 'sys': <module 'sys' (built-in)>, '_frozen_importlib': <module 'importlib._bootstrap' (frozen)>, '_imp': <module '_imp' (built-in)>, '_warnings': <module '_warnings' (built-in)>, '_thread': <module '_thread' (built-in)>, '_weakref': <module '_weakref' (built-in)>, '_frozen_importlib_external': <module 'importlib._bootstrap_external' (frozen)>, '_io': <module 'io' (built-in)>, 'marshal': <module 'marshal' (built-in)>, 'posix': <module 'posix' (built-in)>, 'zipimport': <module 'zipimport' (built-in)>, 'encodings': <module 'encodings' from '/home/zas/anaconda3/lib/python3.6/encodings/__init__.py'>, 'codecs': <module 'codecs' from '/home/zas/anaconda3/lib/python3.6/codecs.py'>, '_codecs': <module '_codecs' (built-in)>, 'encodings.aliases': <module 'encodings.aliases' from '/home/zas/anaconda3/lib/python3.6/encodings/aliases.py'>, 'encodings.utf_8': <module 'encodings.utf_8' from '/home/zas/anaconda3/lib/python3.6/encodings/utf_8.py'>, '_signal': <module '_signal' (built-in)>, '__main__': <module '__main__'>, 'encodings.latin_1': <module 'encodings.latin_1' from '/home/zas/anaconda3/lib/python3.6/encodings/latin_1.py'>, 'io': <module 'io' from '/home/zas/anaconda3/lib/python3.6/io.py'>, 'abc': <module 'abc' from '/home/zas/anaconda3/lib/python3.6/abc.py'>, '_weakrefset': <module '_weakrefset' from '/home/zas/anaconda3/lib/python3.6/_weakrefset.py'>, '_bootlocale': <module '_bootlocale' from '/home/zas/anaconda3/lib/python3.6/_bootlocale.py'>, '_locale': <module '_locale' (built-in)>, 'site': <module 'site' from '/home/zas/anaconda3/lib/python3.6/site.py'>, 'os': <module 'os' from '/home/zas/anaconda3/lib/python3.6/os.py'>, 'errno': <module 'errno' (built-in)>, 'stat': <module 'stat' from '/home/zas/anaconda3/lib/python3.6/stat.py'>, '_stat': <module '_stat' (built-in)>, 'posixpath': <module 'posixpath' from '/home/zas/anaconda3/lib/python3.6/posixpath.py'>, 'genericpath': <module 'genericpath' from '/home/zas/anaconda3/lib/python3.6/genericpath.py'>, 'os.path': <module 'posixpath' from '/home/zas/anaconda3/lib/python3.6/posixpath.py'>, '_collections_abc': <module '_collections_abc' from '/home/zas/anaconda3/lib/python3.6/_collections_abc.py'>, '_sitebuiltins': <module '_sitebuiltins' from '/home/zas/anaconda3/lib/python3.6/_sitebuiltins.py'>, 'sysconfig': <module 'sysconfig' from '/home/zas/anaconda3/lib/python3.6/sysconfig.py'>, '_sysconfigdata_m_linux_x86_64-linux-gnu': <module '_sysconfigdata_m_linux_x86_64-linux-gnu' from '/home/zas/anaconda3/lib/python3.6/_sysconfigdata_m_linux_x86_64-linux-gnu.py'>, 'types': <module 'types' from '/home/zas/anaconda3/lib/python3.6/types.py'>, 'functools': <module 'functools' from '/home/zas/anaconda3/lib/python3.6/functools.py'>, '_functools': <module '_functools' (built-in)>, 'collections': <module 'collections' from '/home/zas/anaconda3/lib/python3.6/collections/__init__.py'>, 'operator': <module 'operator' from '/home/zas/anaconda3/lib/python3.6/operator.py'>, '_operator': <module '_operator' (built-in)>, 'keyword': <module 'keyword' from '/home/zas/anaconda3/lib/python3.6/keyword.py'>, 'heapq': <module 'heapq' from '/home/zas/anaconda3/lib/python3.6/heapq.py'>, '_heapq': <module '_heapq' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/_heapq.cpython-36m-x86_64-linux-gnu.so'>, 'itertools': <module 'itertools' (built-in)>, 'reprlib': <module 'reprlib' from '/home/zas/anaconda3/lib/python3.6/reprlib.py'>, '_collections': <module '_collections' (built-in)>, 'weakref': <module 'weakref' from '/home/zas/anaconda3/lib/python3.6/weakref.py'>, 'collections.abc': <module 'collections.abc' from '/home/zas/anaconda3/lib/python3.6/collections/abc.py'>, 'importlib': <module 'importlib' from '/home/zas/anaconda3/lib/python3.6/importlib/__init__.py'>, 'importlib._bootstrap': <module 'importlib._bootstrap' (frozen)>, 'importlib._bootstrap_external': <module 'importlib._bootstrap_external' (frozen)>, 'warnings': <module 'warnings' from '/home/zas/anaconda3/lib/python3.6/warnings.py'>, 'importlib.util': <module 'importlib.util' from '/home/zas/anaconda3/lib/python3.6/importlib/util.py'>, 'importlib.abc': <module 'importlib.abc' from '/home/zas/anaconda3/lib/python3.6/importlib/abc.py'>, 'importlib.machinery': <module 'importlib.machinery' from '/home/zas/anaconda3/lib/python3.6/importlib/machinery.py'>, 'contextlib': <module 'contextlib' from '/home/zas/anaconda3/lib/python3.6/contextlib.py'>, 'mpl_toolkits': <module 'mpl_toolkits' (namespace)>, 'google': <module 'google' (namespace)>, 'sphinxcontrib': <module 'sphinxcontrib' from '/home/zas/anaconda3/lib/python3.6/site-packages/sphinxcontrib/__init__.py'>, 'runpy': <module 'runpy' from '/home/zas/anaconda3/lib/python3.6/runpy.py'>, 'pkgutil': <module 'pkgutil' from '/home/zas/anaconda3/lib/python3.6/pkgutil.py'>, 'ipykernel': <module 'ipykernel' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipykernel/__init__.py'>, 'ipykernel._version': <module 'ipykernel._version' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipykernel/_version.py'>, 'ipykernel.connect': <module 'ipykernel.connect' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipykernel/connect.py'>, '__future__': <module '__future__' from '/home/zas/anaconda3/lib/python3.6/__future__.py'>, 'json': <module 'json' from '/home/zas/anaconda3/lib/python3.6/json/__init__.py'>, 'json.decoder': <module 'json.decoder' from '/home/zas/anaconda3/lib/python3.6/json/decoder.py'>, 're': <module 're' from '/home/zas/anaconda3/lib/python3.6/re.py'>, 'enum': <module 'enum' from '/home/zas/anaconda3/lib/python3.6/enum.py'>, 'sre_compile': <module 'sre_compile' from '/home/zas/anaconda3/lib/python3.6/sre_compile.py'>, '_sre': <module '_sre' (built-in)>, 'sre_parse': <module 'sre_parse' from '/home/zas/anaconda3/lib/python3.6/sre_parse.py'>, 'sre_constants': <module 'sre_constants' from '/home/zas/anaconda3/lib/python3.6/sre_constants.py'>, 'copyreg': <module 'copyreg' from '/home/zas/anaconda3/lib/python3.6/copyreg.py'>, 'json.scanner': <module 'json.scanner' from '/home/zas/anaconda3/lib/python3.6/json/scanner.py'>, '_json': <module '_json' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/_json.cpython-36m-x86_64-linux-gnu.so'>, 'json.encoder': <module 'json.encoder' from '/home/zas/anaconda3/lib/python3.6/json/encoder.py'>, 'subprocess': <module 'subprocess' from '/home/zas/anaconda3/lib/python3.6/subprocess.py'>, 'time': <module 'time' (built-in)>, 'signal': <module 'signal' from '/home/zas/anaconda3/lib/python3.6/signal.py'>, '_posixsubprocess': <module '_posixsubprocess' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/_posixsubprocess.cpython-36m-x86_64-linux-gnu.so'>, 'select': <module 'select' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/select.cpython-36m-x86_64-linux-gnu.so'>, 'selectors': <module 'selectors' from '/home/zas/anaconda3/lib/python3.6/selectors.py'>, 'math': <module 'math' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/math.cpython-36m-x86_64-linux-gnu.so'>, 'threading': <module 'threading' from '/home/zas/anaconda3/lib/python3.6/threading.py'>, 'traceback': <module 'traceback' from '/home/zas/anaconda3/lib/python3.6/traceback.py'>, 'linecache': <module 'linecache' from '/home/zas/anaconda3/lib/python3.6/linecache.py'>, 'tokenize': <module 'tokenize' from '/home/zas/anaconda3/lib/python3.6/tokenize.py'>, 'token': <module 'token' from '/home/zas/anaconda3/lib/python3.6/token.py'>, 'IPython': <module 'IPython' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/__init__.py'>, 'IPython.core': <module 'IPython.core' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/__init__.py'>, 'IPython.core.getipython': <module 'IPython.core.getipython' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/getipython.py'>, 'IPython.core.release': <module 'IPython.core.release' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/release.py'>, 'IPython.core.application': <module 'IPython.core.application' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/application.py'>, 'atexit': <module 'atexit' (built-in)>, 'copy': <module 'copy' from '/home/zas/anaconda3/lib/python3.6/copy.py'>, 'glob': <module 'glob' from '/home/zas/anaconda3/lib/python3.6/glob.py'>, 'fnmatch': <module 'fnmatch' from '/home/zas/anaconda3/lib/python3.6/fnmatch.py'>, 'logging': <module 'logging' from '/home/zas/anaconda3/lib/python3.6/logging/__init__.py'>, 'string': <module 'string' from '/home/zas/anaconda3/lib/python3.6/string.py'>, '_string': <module '_string' (built-in)>, 'shutil': <module 'shutil' from '/home/zas/anaconda3/lib/python3.6/shutil.py'>, 'zlib': <module 'zlib' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/zlib.cpython-36m-x86_64-linux-gnu.so'>, 'bz2': <module 'bz2' from '/home/zas/anaconda3/lib/python3.6/bz2.py'>, '_compression': <module '_compression' from '/home/zas/anaconda3/lib/python3.6/_compression.py'>, '_bz2': <module '_bz2' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/_bz2.cpython-36m-x86_64-linux-gnu.so'>, 'lzma': <module 'lzma' from '/home/zas/anaconda3/lib/python3.6/lzma.py'>, '_lzma': <module '_lzma' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/_lzma.cpython-36m-x86_64-linux-gnu.so'>, 'pwd': <module 'pwd' (built-in)>, 'grp': <module 'grp' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/grp.cpython-36m-x86_64-linux-gnu.so'>, 'traitlets': <module 'traitlets' from '/home/zas/anaconda3/lib/python3.6/site-packages/traitlets/__init__.py'>, 'traitlets.traitlets': <module 'traitlets.traitlets' from '/home/zas/anaconda3/lib/python3.6/site-packages/traitlets/traitlets.py'>, 'inspect': <module 'inspect' from '/home/zas/anaconda3/lib/python3.6/inspect.py'>, 'ast': <module 'ast' from '/home/zas/anaconda3/lib/python3.6/ast.py'>, '_ast': <module '_ast' (built-in)>, 'dis': <module 'dis' from '/home/zas/anaconda3/lib/python3.6/dis.py'>, 'opcode': <module 'opcode' from '/home/zas/anaconda3/lib/python3.6/opcode.py'>, '_opcode': <module '_opcode' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/_opcode.cpython-36m-x86_64-linux-gnu.so'>, 'six': <module 'six' from '/home/zas/anaconda3/lib/python3.6/site-packages/six.py'>, 'struct': <module 'struct' from '/home/zas/anaconda3/lib/python3.6/struct.py'>, '_struct': <module '_struct' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/_struct.cpython-36m-x86_64-linux-gnu.so'>, 'traitlets.utils': <module 'traitlets.utils' from '/home/zas/anaconda3/lib/python3.6/site-packages/traitlets/utils/__init__.py'>, 'traitlets.utils.getargspec': <module 'traitlets.utils.getargspec' from '/home/zas/anaconda3/lib/python3.6/site-packages/traitlets/utils/getargspec.py'>, 'traitlets.utils.importstring': <module 'traitlets.utils.importstring' from '/home/zas/anaconda3/lib/python3.6/site-packages/traitlets/utils/importstring.py'>, 'ipython_genutils': <module 'ipython_genutils' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipython_genutils/__init__.py'>, 'ipython_genutils._version': <module 'ipython_genutils._version' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipython_genutils/_version.py'>, 'ipython_genutils.py3compat': <module 'ipython_genutils.py3compat' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipython_genutils/py3compat.py'>, 'ipython_genutils.encoding': <module 'ipython_genutils.encoding' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipython_genutils/encoding.py'>, 'locale': <module 'locale' from '/home/zas/anaconda3/lib/python3.6/locale.py'>, 'platform': <module 'platform' from '/home/zas/anaconda3/lib/python3.6/platform.py'>, 'traitlets.utils.sentinel': <module 'traitlets.utils.sentinel' from '/home/zas/anaconda3/lib/python3.6/site-packages/traitlets/utils/sentinel.py'>, 'traitlets.utils.bunch': <module 'traitlets.utils.bunch' from '/home/zas/anaconda3/lib/python3.6/site-packages/traitlets/utils/bunch.py'>, 'traitlets._version': <module 'traitlets._version' from '/home/zas/anaconda3/lib/python3.6/site-packages/traitlets/_version.py'>, 'traitlets.config': <module 'traitlets.config' from '/home/zas/anaconda3/lib/python3.6/site-packages/traitlets/config/__init__.py'>, 'traitlets.config.application': <module 'traitlets.config.application' from '/home/zas/anaconda3/lib/python3.6/site-packages/traitlets/config/application.py'>, 'decorator': <module 'decorator' from '/home/zas/anaconda3/lib/python3.6/site-packages/decorator.py'>, 'traitlets.config.configurable': <module 'traitlets.config.configurable' from '/home/zas/anaconda3/lib/python3.6/site-packages/traitlets/config/configurable.py'>, 'traitlets.config.loader': <module 'traitlets.config.loader' from '/home/zas/anaconda3/lib/python3.6/site-packages/traitlets/config/loader.py'>, 'argparse': <module 'argparse' from '/home/zas/anaconda3/lib/python3.6/argparse.py'>, 'textwrap': <module 'textwrap' from '/home/zas/anaconda3/lib/python3.6/textwrap.py'>, 'gettext': <module 'gettext' from '/home/zas/anaconda3/lib/python3.6/gettext.py'>, 'ipython_genutils.path': <module 'ipython_genutils.path' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipython_genutils/path.py'>, 'random': <module 'random' from '/home/zas/anaconda3/lib/python3.6/random.py'>, 'hashlib': <module 'hashlib' from '/home/zas/anaconda3/lib/python3.6/hashlib.py'>, '_hashlib': <module '_hashlib' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/_hashlib.cpython-36m-x86_64-linux-gnu.so'>, '_blake2': <module '_blake2' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/_blake2.cpython-36m-x86_64-linux-gnu.so'>, '_sha3': <module '_sha3' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/_sha3.cpython-36m-x86_64-linux-gnu.so'>, 'bisect': <module 'bisect' from '/home/zas/anaconda3/lib/python3.6/bisect.py'>, '_bisect': <module '_bisect' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/_bisect.cpython-36m-x86_64-linux-gnu.so'>, '_random': <module '_random' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/_random.cpython-36m-x86_64-linux-gnu.so'>, 'ipython_genutils.text': <module 'ipython_genutils.text' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipython_genutils/text.py'>, 'ipython_genutils.importstring': <module 'ipython_genutils.importstring' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipython_genutils/importstring.py'>, 'IPython.core.crashhandler': <module 'IPython.core.crashhandler' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/crashhandler.py'>, 'pprint': <module 'pprint' from '/home/zas/anaconda3/lib/python3.6/pprint.py'>, 'IPython.core.ultratb': <module 'IPython.core.ultratb' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/ultratb.py'>, 'pydoc': <module 'pydoc' from '/home/zas/anaconda3/lib/python3.6/pydoc.py'>, 'urllib': <module 'urllib' from '/home/zas/anaconda3/lib/python3.6/urllib/__init__.py'>, 'urllib.parse': <module 'urllib.parse' from '/home/zas/anaconda3/lib/python3.6/urllib/parse.py'>, 'IPython.core.debugger': <module 'IPython.core.debugger' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/debugger.py'>, 'bdb': <module 'bdb' from '/home/zas/anaconda3/lib/python3.6/bdb.py'>, 'IPython.utils': <module 'IPython.utils' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/__init__.py'>, 'IPython.utils.PyColorize': <module 'IPython.utils.PyColorize' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/PyColorize.py'>, 'IPython.utils.coloransi': <module 'IPython.utils.coloransi' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/coloransi.py'>, 'IPython.utils.ipstruct': <module 'IPython.utils.ipstruct' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/ipstruct.py'>, 'IPython.utils.colorable': <module 'IPython.utils.colorable' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/colorable.py'>, 'pygments': <module 'pygments' from '/home/zas/anaconda3/lib/python3.6/site-packages/pygments/__init__.py'>, 'pygments.util': <module 'pygments.util' from '/home/zas/anaconda3/lib/python3.6/site-packages/pygments/util.py'>, 'IPython.utils.py3compat': <module 'IPython.utils.py3compat' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/py3compat.py'>, 'IPython.utils.encoding': <module 'IPython.utils.encoding' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/encoding.py'>, 'IPython.core.excolors': <module 'IPython.core.excolors' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/excolors.py'>, 'IPython.testing': <module 'IPython.testing' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/testing/__init__.py'>, 'IPython.testing.skipdoctest': <module 'IPython.testing.skipdoctest' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/testing/skipdoctest.py'>, 'pdb': <module 'pdb' from '/home/zas/anaconda3/lib/python3.6/pdb.py'>, 'cmd': <module 'cmd' from '/home/zas/anaconda3/lib/python3.6/cmd.py'>, 'code': <module 'code' from '/home/zas/anaconda3/lib/python3.6/code.py'>, 'codeop': <module 'codeop' from '/home/zas/anaconda3/lib/python3.6/codeop.py'>, 'IPython.core.display_trap': <module 'IPython.core.display_trap' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/display_trap.py'>, 'IPython.utils.openpy': <module 'IPython.utils.openpy' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/openpy.py'>, 'IPython.utils.path': <module 'IPython.utils.path' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/path.py'>, 'IPython.utils.process': <module 'IPython.utils.process' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/process.py'>, 'IPython.utils._process_posix': <module 'IPython.utils._process_posix' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/_process_posix.py'>, 'pexpect': <module 'pexpect' from '/home/zas/anaconda3/lib/python3.6/site-packages/pexpect/__init__.py'>, 'pexpect.exceptions': <module 'pexpect.exceptions' from '/home/zas/anaconda3/lib/python3.6/site-packages/pexpect/exceptions.py'>, 'pexpect.utils': <module 'pexpect.utils' from '/home/zas/anaconda3/lib/python3.6/site-packages/pexpect/utils.py'>, 'pexpect.expect': <module 'pexpect.expect' from '/home/zas/anaconda3/lib/python3.6/site-packages/pexpect/expect.py'>, 'pexpect.pty_spawn': <module 'pexpect.pty_spawn' from '/home/zas/anaconda3/lib/python3.6/site-packages/pexpect/pty_spawn.py'>, 'pty': <module 'pty' from '/home/zas/anaconda3/lib/python3.6/pty.py'>, 'tty': <module 'tty' from '/home/zas/anaconda3/lib/python3.6/tty.py'>, 'termios': <module 'termios' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/termios.cpython-36m-x86_64-linux-gnu.so'>, 'ptyprocess': <module 'ptyprocess' from '/home/zas/anaconda3/lib/python3.6/site-packages/ptyprocess/__init__.py'>, 'ptyprocess.ptyprocess': <module 'ptyprocess.ptyprocess' from '/home/zas/anaconda3/lib/python3.6/site-packages/ptyprocess/ptyprocess.py'>, 'fcntl': <module 'fcntl' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/fcntl.cpython-36m-x86_64-linux-gnu.so'>, 'resource': <module 'resource' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/resource.cpython-36m-x86_64-linux-gnu.so'>, 'ptyprocess.util': <module 'ptyprocess.util' from '/home/zas/anaconda3/lib/python3.6/site-packages/ptyprocess/util.py'>, 'pexpect.spawnbase': <module 'pexpect.spawnbase' from '/home/zas/anaconda3/lib/python3.6/site-packages/pexpect/spawnbase.py'>, 'pexpect.run': <module 'pexpect.run' from '/home/zas/anaconda3/lib/python3.6/site-packages/pexpect/run.py'>, 'IPython.utils._process_common': <module 'IPython.utils._process_common' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/_process_common.py'>, 'shlex': <module 'shlex' from '/home/zas/anaconda3/lib/python3.6/shlex.py'>, 'IPython.utils.decorators': <module 'IPython.utils.decorators' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/decorators.py'>, 'IPython.utils.data': <module 'IPython.utils.data' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/data.py'>, 'IPython.utils.terminal': <module 'IPython.utils.terminal' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/terminal.py'>, 'IPython.utils.sysinfo': <module 'IPython.utils.sysinfo' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/sysinfo.py'>, 'IPython.utils._sysinfo': <module 'IPython.utils._sysinfo' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/_sysinfo.py'>, 'IPython.core.profiledir': <module 'IPython.core.profiledir' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/profiledir.py'>, 'IPython.paths': <module 'IPython.paths' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/paths.py'>, 'tempfile': <module 'tempfile' from '/home/zas/anaconda3/lib/python3.6/tempfile.py'>, 'IPython.utils.importstring': <module 'IPython.utils.importstring' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/importstring.py'>, 'IPython.terminal': <module 'IPython.terminal' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/terminal/__init__.py'>, 'IPython.terminal.embed': <module 'IPython.terminal.embed' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/terminal/embed.py'>, 'IPython.core.compilerop': <module 'IPython.core.compilerop' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/compilerop.py'>, 'IPython.core.magic_arguments': <module 'IPython.core.magic_arguments' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/magic_arguments.py'>, 'IPython.core.error': <module 'IPython.core.error' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/error.py'>, 'IPython.utils.text': <module 'IPython.utils.text' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/text.py'>, 'pathlib': <module 'pathlib' from '/home/zas/anaconda3/lib/python3.6/pathlib.py'>, 'ntpath': <module 'ntpath' from '/home/zas/anaconda3/lib/python3.6/ntpath.py'>, 'IPython.core.magic': <module 'IPython.core.magic' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/magic.py'>, 'getopt': <module 'getopt' from '/home/zas/anaconda3/lib/python3.6/getopt.py'>, 'IPython.core.oinspect': <module 'IPython.core.oinspect' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/oinspect.py'>, 'IPython.core.page': <module 'IPython.core.page' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/page.py'>, 'IPython.core.display': <module 'IPython.core.display' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/display.py'>, 'binascii': <module 'binascii' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/binascii.cpython-36m-x86_64-linux-gnu.so'>, 'mimetypes': <module 'mimetypes' from '/home/zas/anaconda3/lib/python3.6/mimetypes.py'>, 'IPython.lib': <module 'IPython.lib' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/lib/__init__.py'>, 'IPython.lib.security': <module 'IPython.lib.security' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/lib/security.py'>, 'getpass': <module 'getpass' from '/home/zas/anaconda3/lib/python3.6/getpass.py'>, 'IPython.lib.pretty': <module 'IPython.lib.pretty' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/lib/pretty.py'>, 'datetime': <module 'datetime' from '/home/zas/anaconda3/lib/python3.6/datetime.py'>, '_datetime': <module '_datetime' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/_datetime.cpython-36m-x86_64-linux-gnu.so'>, 'IPython.utils.signatures': <module 'IPython.utils.signatures' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/signatures.py'>, 'IPython.utils.dir2': <module 'IPython.utils.dir2' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/dir2.py'>, 'IPython.utils.wildcard': <module 'IPython.utils.wildcard' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/wildcard.py'>, 'pygments.lexers': <module 'pygments.lexers' from '/home/zas/anaconda3/lib/python3.6/site-packages/pygments/lexers/__init__.py'>, 'pygments.lexers._mapping': <module 'pygments.lexers._mapping' from '/home/zas/anaconda3/lib/python3.6/site-packages/pygments/lexers/_mapping.py'>, 'pygments.modeline': <module 'pygments.modeline' from '/home/zas/anaconda3/lib/python3.6/site-packages/pygments/modeline.py'>, 'pygments.plugin': <module 'pygments.plugin' from '/home/zas/anaconda3/lib/python3.6/site-packages/pygments/plugin.py'>, 'pygments.lexers.python': <module 'pygments.lexers.python' from '/home/zas/anaconda3/lib/python3.6/site-packages/pygments/lexers/python.py'>, 'pygments.lexer': <module 'pygments.lexer' from '/home/zas/anaconda3/lib/python3.6/site-packages/pygments/lexer.py'>, 'pygments.filter': <module 'pygments.filter' from '/home/zas/anaconda3/lib/python3.6/site-packages/pygments/filter.py'>, 'pygments.filters': <module 'pygments.filters' from '/home/zas/anaconda3/lib/python3.6/site-packages/pygments/filters/__init__.py'>, 'pygments.token': <module 'pygments.token' from '/home/zas/anaconda3/lib/python3.6/site-packages/pygments/token.py'>, 'pygments.regexopt': <module 'pygments.regexopt' from '/home/zas/anaconda3/lib/python3.6/site-packages/pygments/regexopt.py'>, 'pygments.unistring': <module 'pygments.unistring' from '/home/zas/anaconda3/lib/python3.6/site-packages/pygments/unistring.py'>, 'pygments.formatters': <module 'pygments.formatters' from '/home/zas/anaconda3/lib/python3.6/site-packages/pygments/formatters/__init__.py'>, 'pygments.formatters._mapping': <module 'pygments.formatters._mapping' from '/home/zas/anaconda3/lib/python3.6/site-packages/pygments/formatters/_mapping.py'>, 'pygments.formatters.html': <module 'pygments.formatters.html' from '/home/zas/anaconda3/lib/python3.6/site-packages/pygments/formatters/html.py'>, 'pygments.formatter': <module 'pygments.formatter' from '/home/zas/anaconda3/lib/python3.6/site-packages/pygments/formatter.py'>, 'pygments.styles': <module 'pygments.styles' from '/home/zas/anaconda3/lib/python3.6/site-packages/pygments/styles/__init__.py'>, 'IPython.core.inputsplitter': <module 'IPython.core.inputsplitter' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/inputsplitter.py'>, 'IPython.core.inputtransformer': <module 'IPython.core.inputtransformer' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/inputtransformer.py'>, 'IPython.core.splitinput': <module 'IPython.core.splitinput' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/splitinput.py'>, 'IPython.utils.tokenize2': <module 'IPython.utils.tokenize2' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/tokenize2.py'>, 'IPython.core.interactiveshell': <module 'IPython.core.interactiveshell' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/interactiveshell.py'>, 'pickleshare': <module 'pickleshare' from '/home/zas/anaconda3/lib/python3.6/site-packages/pickleshare.py'>, 'pickle': <module 'pickle' from '/home/zas/anaconda3/lib/python3.6/pickle.py'>, '_compat_pickle': <module '_compat_pickle' from '/home/zas/anaconda3/lib/python3.6/_compat_pickle.py'>, '_pickle': <module '_pickle' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/_pickle.cpython-36m-x86_64-linux-gnu.so'>, 'IPython.core.prefilter': <module 'IPython.core.prefilter' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/prefilter.py'>, 'IPython.core.autocall': <module 'IPython.core.autocall' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/autocall.py'>, 'IPython.core.macro': <module 'IPython.core.macro' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/macro.py'>, 'IPython.core.alias': <module 'IPython.core.alias' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/alias.py'>, 'IPython.core.builtin_trap': <module 'IPython.core.builtin_trap' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/builtin_trap.py'>, 'IPython.core.events': <module 'IPython.core.events' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/events.py'>, 'backcall': <module 'backcall' from '/home/zas/anaconda3/lib/python3.6/site-packages/backcall/__init__.py'>, 'backcall.backcall': <module 'backcall.backcall' from '/home/zas/anaconda3/lib/python3.6/site-packages/backcall/backcall.py'>, 'IPython.core.displayhook': <module 'IPython.core.displayhook' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/displayhook.py'>, 'IPython.core.displaypub': <module 'IPython.core.displaypub' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/displaypub.py'>, 'IPython.core.extensions': <module 'IPython.core.extensions' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/extensions.py'>, 'IPython.core.formatters': <module 'IPython.core.formatters' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/formatters.py'>, 'IPython.utils.sentinel': <module 'IPython.utils.sentinel' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/sentinel.py'>, 'IPython.core.history': <module 'IPython.core.history' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/history.py'>, 'sqlite3': <module 'sqlite3' from '/home/zas/anaconda3/lib/python3.6/sqlite3/__init__.py'>, 'sqlite3.dbapi2': <module 'sqlite3.dbapi2' from '/home/zas/anaconda3/lib/python3.6/sqlite3/dbapi2.py'>, '_sqlite3': <module '_sqlite3' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/_sqlite3.cpython-36m-x86_64-linux-gnu.so'>, 'IPython.core.logger': <module 'IPython.core.logger' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/logger.py'>, 'IPython.core.payload': <module 'IPython.core.payload' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/payload.py'>, 'IPython.core.usage': <module 'IPython.core.usage' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/usage.py'>, 'IPython.display': <module 'IPython.display' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/display.py'>, 'IPython.lib.display': <module 'IPython.lib.display' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/lib/display.py'>, 'html': <module 'html' from '/home/zas/anaconda3/lib/python3.6/html/__init__.py'>, 'html.entities': <module 'html.entities' from '/home/zas/anaconda3/lib/python3.6/html/entities.py'>, 'IPython.utils.io': <module 'IPython.utils.io' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/io.py'>, 'IPython.utils.capture': <module 'IPython.utils.capture' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/capture.py'>, 'IPython.utils.strdispatch': <module 'IPython.utils.strdispatch' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/strdispatch.py'>, 'IPython.core.hooks': <module 'IPython.core.hooks' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/hooks.py'>, 'IPython.utils.syspathcontext': <module 'IPython.utils.syspathcontext' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/syspathcontext.py'>, 'IPython.utils.tempdir': <module 'IPython.utils.tempdir' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/tempdir.py'>, 'typing': <module 'typing' from '/home/zas/anaconda3/lib/python3.6/typing.py'>, 'typing.io': <class 'typing.io'>, 'typing.re': <class 'typing.re'>, 'IPython.utils.contexts': <module 'IPython.utils.contexts' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/contexts.py'>, 'IPython.terminal.interactiveshell': <module 'IPython.terminal.interactiveshell' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py'>, 'prompt_toolkit': <module 'prompt_toolkit' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/__init__.py'>, 'prompt_toolkit.interface': <module 'prompt_toolkit.interface' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/interface.py'>, 'prompt_toolkit.application': <module 'prompt_toolkit.application' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/application.py'>, 'prompt_toolkit.buffer': <module 'prompt_toolkit.buffer' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/buffer.py'>, 'prompt_toolkit.auto_suggest': <module 'prompt_toolkit.auto_suggest' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/auto_suggest.py'>, 'prompt_toolkit.filters': <module 'prompt_toolkit.filters' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/filters/__init__.py'>, 'prompt_toolkit.filters.base': <module 'prompt_toolkit.filters.base' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/filters/base.py'>, 'prompt_toolkit.utils': <module 'prompt_toolkit.utils' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/utils.py'>, 'wcwidth': <module 'wcwidth' from '/home/zas/anaconda3/lib/python3.6/site-packages/wcwidth/__init__.py'>, 'wcwidth.wcwidth': <module 'wcwidth.wcwidth' from '/home/zas/anaconda3/lib/python3.6/site-packages/wcwidth/wcwidth.py'>, 'wcwidth.table_wide': <module 'wcwidth.table_wide' from '/home/zas/anaconda3/lib/python3.6/site-packages/wcwidth/table_wide.py'>, 'wcwidth.table_zero': <module 'wcwidth.table_zero' from '/home/zas/anaconda3/lib/python3.6/site-packages/wcwidth/table_zero.py'>, 'six.moves': <module 'six.moves' (<six._SixMetaPathImporter object at 0x7f33f4d7add8>)>, 'prompt_toolkit.filters.cli': <module 'prompt_toolkit.filters.cli' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/filters/cli.py'>, 'prompt_toolkit.enums': <module 'prompt_toolkit.enums' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/enums.py'>, 'prompt_toolkit.key_binding': <module 'prompt_toolkit.key_binding' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/key_binding/__init__.py'>, 'prompt_toolkit.key_binding.vi_state': <module 'prompt_toolkit.key_binding.vi_state' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/key_binding/vi_state.py'>, 'prompt_toolkit.cache': <module 'prompt_toolkit.cache' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/cache.py'>, 'prompt_toolkit.filters.types': <module 'prompt_toolkit.filters.types' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/filters/types.py'>, 'prompt_toolkit.filters.utils': <module 'prompt_toolkit.filters.utils' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/filters/utils.py'>, 'prompt_toolkit.clipboard': <module 'prompt_toolkit.clipboard' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/clipboard/__init__.py'>, 'prompt_toolkit.clipboard.base': <module 'prompt_toolkit.clipboard.base' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/clipboard/base.py'>, 'prompt_toolkit.selection': <module 'prompt_toolkit.selection' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/selection.py'>, 'prompt_toolkit.clipboard.in_memory': <module 'prompt_toolkit.clipboard.in_memory' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/clipboard/in_memory.py'>, 'prompt_toolkit.completion': <module 'prompt_toolkit.completion' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/completion.py'>, 'prompt_toolkit.document': <module 'prompt_toolkit.document' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/document.py'>, 'prompt_toolkit.history': <module 'prompt_toolkit.history' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/history.py'>, 'prompt_toolkit.search_state': <module 'prompt_toolkit.search_state' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/search_state.py'>, 'prompt_toolkit.validation': <module 'prompt_toolkit.validation' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/validation.py'>, 'prompt_toolkit.buffer_mapping': <module 'prompt_toolkit.buffer_mapping' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/buffer_mapping.py'>, 'prompt_toolkit.key_binding.bindings': <module 'prompt_toolkit.key_binding.bindings' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/key_binding/bindings/__init__.py'>, 'prompt_toolkit.key_binding.bindings.basic': <module 'prompt_toolkit.key_binding.bindings.basic' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/key_binding/bindings/basic.py'>, 'prompt_toolkit.keys': <module 'prompt_toolkit.keys' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/keys.py'>, 'prompt_toolkit.layout': <module 'prompt_toolkit.layout' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/layout/__init__.py'>, 'prompt_toolkit.layout.containers': <module 'prompt_toolkit.layout.containers' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/layout/containers.py'>, 'prompt_toolkit.layout.controls': <module 'prompt_toolkit.layout.controls' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/layout/controls.py'>, 'prompt_toolkit.mouse_events': <module 'prompt_toolkit.mouse_events' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/mouse_events.py'>, 'prompt_toolkit.token': <module 'prompt_toolkit.token' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/token.py'>, 'prompt_toolkit.layout.lexers': <module 'prompt_toolkit.layout.lexers' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/layout/lexers.py'>, 'prompt_toolkit.layout.utils': <module 'prompt_toolkit.layout.utils' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/layout/utils.py'>, 'prompt_toolkit.layout.processors': <module 'prompt_toolkit.layout.processors' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/layout/processors.py'>, 'prompt_toolkit.reactive': <module 'prompt_toolkit.reactive' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/reactive.py'>, 'prompt_toolkit.layout.screen': <module 'prompt_toolkit.layout.screen' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/layout/screen.py'>, 'prompt_toolkit.layout.dimension': <module 'prompt_toolkit.layout.dimension' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/layout/dimension.py'>, 'prompt_toolkit.layout.margins': <module 'prompt_toolkit.layout.margins' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/layout/margins.py'>, 'prompt_toolkit.renderer': <module 'prompt_toolkit.renderer' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/renderer.py'>, 'prompt_toolkit.layout.mouse_handlers': <module 'prompt_toolkit.layout.mouse_handlers' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/layout/mouse_handlers.py'>, 'prompt_toolkit.output': <module 'prompt_toolkit.output' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/output.py'>, 'prompt_toolkit.styles': <module 'prompt_toolkit.styles' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/styles/__init__.py'>, 'prompt_toolkit.styles.base': <module 'prompt_toolkit.styles.base' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/styles/base.py'>, 'prompt_toolkit.styles.defaults': <module 'prompt_toolkit.styles.defaults' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/styles/defaults.py'>, 'prompt_toolkit.styles.from_dict': <module 'prompt_toolkit.styles.from_dict' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/styles/from_dict.py'>, 'prompt_toolkit.styles.utils': <module 'prompt_toolkit.styles.utils' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/styles/utils.py'>, 'prompt_toolkit.styles.from_pygments': <module 'prompt_toolkit.styles.from_pygments' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/styles/from_pygments.py'>, 'pygments.style': <module 'pygments.style' from '/home/zas/anaconda3/lib/python3.6/site-packages/pygments/style.py'>, 'pygments.styles.default': <module 'pygments.styles.default' from '/home/zas/anaconda3/lib/python3.6/site-packages/pygments/styles/default.py'>, 'prompt_toolkit.key_binding.bindings.named_commands': <module 'prompt_toolkit.key_binding.bindings.named_commands' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/key_binding/bindings/named_commands.py'>, 'prompt_toolkit.key_binding.bindings.completion': <module 'prompt_toolkit.key_binding.bindings.completion' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/key_binding/bindings/completion.py'>, 'prompt_toolkit.key_binding.registry': <module 'prompt_toolkit.key_binding.registry' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/key_binding/registry.py'>, 'prompt_toolkit.key_binding.input_processor': <module 'prompt_toolkit.key_binding.input_processor' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/key_binding/input_processor.py'>, 'prompt_toolkit.key_binding.bindings.emacs': <module 'prompt_toolkit.key_binding.bindings.emacs' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/key_binding/bindings/emacs.py'>, 'prompt_toolkit.key_binding.bindings.scroll': <module 'prompt_toolkit.key_binding.bindings.scroll' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/key_binding/bindings/scroll.py'>, 'prompt_toolkit.key_binding.bindings.vi': <module 'prompt_toolkit.key_binding.bindings.vi' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/key_binding/bindings/vi.py'>, 'prompt_toolkit.key_binding.digraphs': <module 'prompt_toolkit.key_binding.digraphs' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/key_binding/digraphs.py'>, 'prompt_toolkit.key_binding.defaults': <module 'prompt_toolkit.key_binding.defaults' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/key_binding/defaults.py'>, 'prompt_toolkit.eventloop': <module 'prompt_toolkit.eventloop' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/eventloop/__init__.py'>, 'prompt_toolkit.eventloop.base': <module 'prompt_toolkit.eventloop.base' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/eventloop/base.py'>, 'prompt_toolkit.eventloop.callbacks': <module 'prompt_toolkit.eventloop.callbacks' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/eventloop/callbacks.py'>, 'prompt_toolkit.input': <module 'prompt_toolkit.input' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/input.py'>, 'prompt_toolkit.terminal': <module 'prompt_toolkit.terminal' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/terminal/__init__.py'>, 'prompt_toolkit.terminal.vt100_input': <module 'prompt_toolkit.terminal.vt100_input' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/terminal/vt100_input.py'>, 'prompt_toolkit.shortcuts': <module 'prompt_toolkit.shortcuts' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/shortcuts.py'>, 'prompt_toolkit.layout.menus': <module 'prompt_toolkit.layout.menus' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/layout/menus.py'>, 'prompt_toolkit.layout.prompt': <module 'prompt_toolkit.layout.prompt' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/layout/prompt.py'>, 'prompt_toolkit.layout.toolbars': <module 'prompt_toolkit.layout.toolbars' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/layout/toolbars.py'>, 'prompt_toolkit.terminal.vt100_output': <module 'prompt_toolkit.terminal.vt100_output' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/terminal/vt100_output.py'>, 'array': <module 'array' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/array.cpython-36m-x86_64-linux-gnu.so'>, 'prompt_toolkit.key_binding.manager': <module 'prompt_toolkit.key_binding.manager' from '/home/zas/anaconda3/lib/python3.6/site-packages/prompt_toolkit/key_binding/manager.py'>, 'IPython.terminal.debugger': <module 'IPython.terminal.debugger' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/terminal/debugger.py'>, 'IPython.core.completer': <module 'IPython.core.completer' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/completer.py'>, 'unicodedata': <module 'unicodedata' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/unicodedata.cpython-36m-x86_64-linux-gnu.so'>, 'IPython.core.latex_symbols': <module 'IPython.core.latex_symbols' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/latex_symbols.py'>, 'IPython.utils.generics': <module 'IPython.utils.generics' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/generics.py'>, 'simplegeneric': <module 'simplegeneric' from '/home/zas/anaconda3/lib/python3.6/site-packages/simplegeneric.py'>, 'jedi': <module 'jedi' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/__init__.py'>, 'jedi.api': <module 'jedi.api' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/api/__init__.py'>, 'parso': <module 'parso' from '/home/zas/anaconda3/lib/python3.6/site-packages/parso/__init__.py'>, 'parso.parser': <module 'parso.parser' from '/home/zas/anaconda3/lib/python3.6/site-packages/parso/parser.py'>, 'parso.tree': <module 'parso.tree' from '/home/zas/anaconda3/lib/python3.6/site-packages/parso/tree.py'>, 'parso._compatibility': <module 'parso._compatibility' from '/home/zas/anaconda3/lib/python3.6/site-packages/parso/_compatibility.py'>, 'parso.pgen2': <module 'parso.pgen2' from '/home/zas/anaconda3/lib/python3.6/site-packages/parso/pgen2/__init__.py'>, 'parso.pgen2.parse': <module 'parso.pgen2.parse' from '/home/zas/anaconda3/lib/python3.6/site-packages/parso/pgen2/parse.py'>, 'parso.python': <module 'parso.python' from '/home/zas/anaconda3/lib/python3.6/site-packages/parso/python/__init__.py'>, 'parso.python.tokenize': <module 'parso.python.tokenize' from '/home/zas/anaconda3/lib/python3.6/site-packages/parso/python/tokenize.py'>, 'parso.python.token': <module 'parso.python.token' from '/home/zas/anaconda3/lib/python3.6/site-packages/parso/python/token.py'>, 'parso.utils': <module 'parso.utils' from '/home/zas/anaconda3/lib/python3.6/site-packages/parso/utils.py'>, 'parso.grammar': <module 'parso.grammar' from '/home/zas/anaconda3/lib/python3.6/site-packages/parso/grammar.py'>, 'parso.pgen2.pgen': <module 'parso.pgen2.pgen' from '/home/zas/anaconda3/lib/python3.6/site-packages/parso/pgen2/pgen.py'>, 'parso.pgen2.grammar': <module 'parso.pgen2.grammar' from '/home/zas/anaconda3/lib/python3.6/site-packages/parso/pgen2/grammar.py'>, 'parso.python.diff': <module 'parso.python.diff' from '/home/zas/anaconda3/lib/python3.6/site-packages/parso/python/diff.py'>, 'difflib': <module 'difflib' from '/home/zas/anaconda3/lib/python3.6/difflib.py'>, 'parso.python.parser': <module 'parso.python.parser' from '/home/zas/anaconda3/lib/python3.6/site-packages/parso/python/parser.py'>, 'parso.python.tree': <module 'parso.python.tree' from '/home/zas/anaconda3/lib/python3.6/site-packages/parso/python/tree.py'>, 'parso.python.prefix': <module 'parso.python.prefix' from '/home/zas/anaconda3/lib/python3.6/site-packages/parso/python/prefix.py'>, 'parso.cache': <module 'parso.cache' from '/home/zas/anaconda3/lib/python3.6/site-packages/parso/cache.py'>, 'gc': <module 'gc' (built-in)>, 'parso.python.errors': <module 'parso.python.errors' from '/home/zas/anaconda3/lib/python3.6/site-packages/parso/python/errors.py'>, 'parso.normalizer': <module 'parso.normalizer' from '/home/zas/anaconda3/lib/python3.6/site-packages/parso/normalizer.py'>, 'parso.python.pep8': <module 'parso.python.pep8' from '/home/zas/anaconda3/lib/python3.6/site-packages/parso/python/pep8.py'>, 'jedi._compatibility': <module 'jedi._compatibility' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/_compatibility.py'>, 'queue': <module 'queue' from '/home/zas/anaconda3/lib/python3.6/queue.py'>, 'jedi.parser_utils': <module 'jedi.parser_utils' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/parser_utils.py'>, 'jedi.debug': <module 'jedi.debug' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/debug.py'>, 'colorama': <module 'colorama' from '/home/zas/anaconda3/lib/python3.6/site-packages/colorama/__init__.py'>, 'colorama.initialise': <module 'colorama.initialise' from '/home/zas/anaconda3/lib/python3.6/site-packages/colorama/initialise.py'>, 'colorama.ansitowin32': <module 'colorama.ansitowin32' from '/home/zas/anaconda3/lib/python3.6/site-packages/colorama/ansitowin32.py'>, 'colorama.ansi': <module 'colorama.ansi' from '/home/zas/anaconda3/lib/python3.6/site-packages/colorama/ansi.py'>, 'colorama.winterm': <module 'colorama.winterm' from '/home/zas/anaconda3/lib/python3.6/site-packages/colorama/winterm.py'>, 'colorama.win32': <module 'colorama.win32' from '/home/zas/anaconda3/lib/python3.6/site-packages/colorama/win32.py'>, 'ctypes': <module 'ctypes' from '/home/zas/anaconda3/lib/python3.6/ctypes/__init__.py'>, '_ctypes': <module '_ctypes' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so'>, 'ctypes._endian': <module 'ctypes._endian' from '/home/zas/anaconda3/lib/python3.6/ctypes/_endian.py'>, 'jedi.settings': <module 'jedi.settings' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/settings.py'>, 'jedi.cache': <module 'jedi.cache' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/cache.py'>, 'jedi.api.classes': <module 'jedi.api.classes' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/api/classes.py'>, 'jedi.evaluate': <module 'jedi.evaluate' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/__init__.py'>, 'jedi.evaluate.utils': <module 'jedi.evaluate.utils' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/utils.py'>, 'jedi.evaluate.imports': <module 'jedi.evaluate.imports' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/imports.py'>, 'jedi.evaluate.sys_path': <module 'jedi.evaluate.sys_path' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/sys_path.py'>, 'jedi.evaluate.cache': <module 'jedi.evaluate.cache' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/cache.py'>, 'jedi.evaluate.base_context': <module 'jedi.evaluate.base_context' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/base_context.py'>, 'jedi.common': <module 'jedi.common' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/common/__init__.py'>, 'jedi.common.context': <module 'jedi.common.context' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/common/context.py'>, 'jedi.evaluate.helpers': <module 'jedi.evaluate.helpers' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/helpers.py'>, 'jedi.evaluate.compiled': <module 'jedi.evaluate.compiled' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/compiled/__init__.py'>, 'jedi.evaluate.compiled.context': <module 'jedi.evaluate.compiled.context' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/compiled/context.py'>, 'jedi.evaluate.filters': <module 'jedi.evaluate.filters' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/filters.py'>, 'jedi.evaluate.flow_analysis': <module 'jedi.evaluate.flow_analysis' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/flow_analysis.py'>, 'jedi.evaluate.recursion': <module 'jedi.evaluate.recursion' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/recursion.py'>, 'jedi.evaluate.lazy_context': <module 'jedi.evaluate.lazy_context' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/lazy_context.py'>, 'jedi.evaluate.compiled.access': <module 'jedi.evaluate.compiled.access' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/compiled/access.py'>, 'jedi.evaluate.compiled.getattr_static': <module 'jedi.evaluate.compiled.getattr_static' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/compiled/getattr_static.py'>, 'jedi.evaluate.compiled.fake': <module 'jedi.evaluate.compiled.fake' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/compiled/fake.py'>, 'jedi.common.utils': <module 'jedi.common.utils' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/common/utils.py'>, 'jedi.evaluate.analysis': <module 'jedi.evaluate.analysis' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/analysis.py'>, 'jedi.evaluate.context': <module 'jedi.evaluate.context' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/context/__init__.py'>, 'jedi.evaluate.context.module': <module 'jedi.evaluate.context.module' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/context/module.py'>, 'jedi.evaluate.context.klass': <module 'jedi.evaluate.context.klass' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/context/klass.py'>, 'jedi.evaluate.context.function': <module 'jedi.evaluate.context.function' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/context/function.py'>, 'jedi.evaluate.docstrings': <module 'jedi.evaluate.docstrings' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/docstrings.py'>, 'jedi.evaluate.pep0484': <module 'jedi.evaluate.pep0484' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/pep0484.py'>, 'jedi.evaluate.arguments': <module 'jedi.evaluate.arguments' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/arguments.py'>, 'jedi.evaluate.context.iterable': <module 'jedi.evaluate.context.iterable' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/context/iterable.py'>, 'jedi.evaluate.param': <module 'jedi.evaluate.param' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/param.py'>, 'jedi.evaluate.context.asynchronous': <module 'jedi.evaluate.context.asynchronous' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/context/asynchronous.py'>, 'jedi.evaluate.parser_cache': <module 'jedi.evaluate.parser_cache' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/parser_cache.py'>, 'jedi.evaluate.context.instance': <module 'jedi.evaluate.context.instance' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/context/instance.py'>, 'jedi.evaluate.syntax_tree': <module 'jedi.evaluate.syntax_tree' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/syntax_tree.py'>, 'jedi.evaluate.finder': <module 'jedi.evaluate.finder' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/finder.py'>, 'jedi.api.keywords': <module 'jedi.api.keywords' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/api/keywords.py'>, 'pydoc_data': <module 'pydoc_data' from '/home/zas/anaconda3/lib/python3.6/pydoc_data/__init__.py'>, 'pydoc_data.topics': <module 'pydoc_data.topics' from '/home/zas/anaconda3/lib/python3.6/pydoc_data/topics.py'>, 'jedi.api.interpreter': <module 'jedi.api.interpreter' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/api/interpreter.py'>, 'jedi.evaluate.compiled.mixed': <module 'jedi.evaluate.compiled.mixed' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/compiled/mixed.py'>, 'jedi.api.helpers': <module 'jedi.api.helpers' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/api/helpers.py'>, 'jedi.api.completion': <module 'jedi.api.completion' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/api/completion.py'>, 'jedi.api.environment': <module 'jedi.api.environment' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/api/environment.py'>, 'filecmp': <module 'filecmp' from '/home/zas/anaconda3/lib/python3.6/filecmp.py'>, 'distutils': <module 'distutils' from '/home/zas/anaconda3/lib/python3.6/distutils/__init__.py'>, 'distutils.spawn': <module 'distutils.spawn' from '/home/zas/anaconda3/lib/python3.6/distutils/spawn.py'>, 'distutils.errors': <module 'distutils.errors' from '/home/zas/anaconda3/lib/python3.6/distutils/errors.py'>, 'distutils.debug': <module 'distutils.debug' from '/home/zas/anaconda3/lib/python3.6/distutils/debug.py'>, 'distutils.log': <module 'distutils.log' from '/home/zas/anaconda3/lib/python3.6/distutils/log.py'>, 'jedi.evaluate.compiled.subprocess': <module 'jedi.evaluate.compiled.subprocess' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/compiled/subprocess/__init__.py'>, 'socket': <module 'socket' from '/home/zas/anaconda3/lib/python3.6/socket.py'>, '_socket': <module '_socket' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/_socket.cpython-36m-x86_64-linux-gnu.so'>, 'jedi.evaluate.compiled.subprocess.functions': <module 'jedi.evaluate.compiled.subprocess.functions' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/compiled/subprocess/functions.py'>, 'jedi.api.exceptions': <module 'jedi.api.exceptions' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/api/exceptions.py'>, 'jedi.api.project': <module 'jedi.api.project' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/api/project.py'>, 'jedi.evaluate.usages': <module 'jedi.evaluate.usages' from '/home/zas/anaconda3/lib/python3.6/site-packages/jedi/evaluate/usages.py'>, 'IPython.terminal.ptutils': <module 'IPython.terminal.ptutils' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/terminal/ptutils.py'>, 'IPython.terminal.shortcuts': <module 'IPython.terminal.shortcuts' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/terminal/shortcuts.py'>, 'IPython.terminal.magics': <module 'IPython.terminal.magics' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/terminal/magics.py'>, 'IPython.lib.clipboard': <module 'IPython.lib.clipboard' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/lib/clipboard.py'>, 'IPython.terminal.pt_inputhooks': <module 'IPython.terminal.pt_inputhooks' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/terminal/pt_inputhooks/__init__.py'>, 'IPython.terminal.prompts': <module 'IPython.terminal.prompts' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/terminal/prompts.py'>, 'IPython.terminal.ipapp': <module 'IPython.terminal.ipapp' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/terminal/ipapp.py'>, 'IPython.core.magics': <module 'IPython.core.magics' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/magics/__init__.py'>, 'IPython.core.magics.auto': <module 'IPython.core.magics.auto' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/magics/auto.py'>, 'IPython.core.magics.basic': <module 'IPython.core.magics.basic' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/magics/basic.py'>, 'IPython.core.magics.code': <module 'IPython.core.magics.code' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/magics/code.py'>, 'IPython.core.magics.config': <module 'IPython.core.magics.config' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/magics/config.py'>, 'IPython.core.magics.display': <module 'IPython.core.magics.display' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/magics/display.py'>, 'IPython.core.magics.execution': <module 'IPython.core.magics.execution' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/magics/execution.py'>, 'timeit': <module 'timeit' from '/home/zas/anaconda3/lib/python3.6/timeit.py'>, 'cProfile': <module 'cProfile' from '/home/zas/anaconda3/lib/python3.6/cProfile.py'>, '_lsprof': <module '_lsprof' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/_lsprof.cpython-36m-x86_64-linux-gnu.so'>, 'profile': <module 'profile' from '/home/zas/anaconda3/lib/python3.6/profile.py'>, 'optparse': <module 'optparse' from '/home/zas/anaconda3/lib/python3.6/optparse.py'>, 'pstats': <module 'pstats' from '/home/zas/anaconda3/lib/python3.6/pstats.py'>, 'IPython.utils.module_paths': <module 'IPython.utils.module_paths' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/module_paths.py'>, 'imp': <module 'imp' from '/home/zas/anaconda3/lib/python3.6/imp.py'>, 'IPython.utils.timing': <module 'IPython.utils.timing' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/timing.py'>, 'IPython.core.magics.extension': <module 'IPython.core.magics.extension' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/magics/extension.py'>, 'IPython.core.magics.history': <module 'IPython.core.magics.history' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/magics/history.py'>, 'IPython.core.magics.logging': <module 'IPython.core.magics.logging' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/magics/logging.py'>, 'IPython.core.magics.namespace': <module 'IPython.core.magics.namespace' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/magics/namespace.py'>, 'IPython.core.magics.osm': <module 'IPython.core.magics.osm' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/magics/osm.py'>, 'IPython.core.magics.pylab': <module 'IPython.core.magics.pylab' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/magics/pylab.py'>, 'IPython.core.pylabtools': <module 'IPython.core.pylabtools' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/pylabtools.py'>, 'IPython.core.magics.script': <module 'IPython.core.magics.script' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/magics/script.py'>, 'IPython.lib.backgroundjobs': <module 'IPython.lib.backgroundjobs' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/lib/backgroundjobs.py'>, 'IPython.core.shellapp': <module 'IPython.core.shellapp' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/shellapp.py'>, 'IPython.extensions': <module 'IPython.extensions' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/extensions/__init__.py'>, 'IPython.extensions.storemagic': <module 'IPython.extensions.storemagic' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/extensions/storemagic.py'>, 'IPython.utils.frame': <module 'IPython.utils.frame' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/frame.py'>, 'jupyter_client': <module 'jupyter_client' from '/home/zas/anaconda3/lib/python3.6/site-packages/jupyter_client/__init__.py'>, 'jupyter_client._version': <module 'jupyter_client._version' from '/home/zas/anaconda3/lib/python3.6/site-packages/jupyter_client/_version.py'>, 'jupyter_client.connect': <module 'jupyter_client.connect' from '/home/zas/anaconda3/lib/python3.6/site-packages/jupyter_client/connect.py'>, 'zmq': <module 'zmq' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/__init__.py'>, 'zmq.backend': <module 'zmq.backend' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/backend/__init__.py'>, 'zmq.backend.select': <module 'zmq.backend.select' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/backend/select.py'>, 'zmq.backend.cython': <module 'zmq.backend.cython' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/backend/cython/__init__.py'>, 'cython_runtime': <module 'cython_runtime'>, 'zmq.backend.cython.constants': <module 'zmq.backend.cython.constants' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/backend/cython/constants.cpython-36m-x86_64-linux-gnu.so'>, '_cython_0_27_3': <module '_cython_0_27_3'>, 'zmq.backend.cython.error': <module 'zmq.backend.cython.error' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/backend/cython/error.cpython-36m-x86_64-linux-gnu.so'>, 'zmq.utils': <module 'zmq.utils' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/utils/__init__.py'>, 'zmq.utils.strtypes': <module 'zmq.utils.strtypes' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/utils/strtypes.py'>, 'zmq.backend.cython.message': <module 'zmq.backend.cython.message' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/backend/cython/message.cpython-36m-x86_64-linux-gnu.so'>, 'zmq.error': <module 'zmq.error' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/error.py'>, 'zmq.backend.cython.context': <module 'zmq.backend.cython.context' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/backend/cython/context.cpython-36m-x86_64-linux-gnu.so'>, 'zmq.backend.cython.socket': <module 'zmq.backend.cython.socket' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/backend/cython/socket.cpython-36m-x86_64-linux-gnu.so'>, 'zmq.backend.cython.utils': <module 'zmq.backend.cython.utils' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/backend/cython/utils.cpython-36m-x86_64-linux-gnu.so'>, 'zmq.backend.cython._poll': <module 'zmq.backend.cython._poll' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/backend/cython/_poll.cpython-36m-x86_64-linux-gnu.so'>, 'zmq.backend.cython._version': <module 'zmq.backend.cython._version' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/backend/cython/_version.cpython-36m-x86_64-linux-gnu.so'>, 'zmq.backend.cython._device': <module 'zmq.backend.cython._device' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/backend/cython/_device.cpython-36m-x86_64-linux-gnu.so'>, 'zmq.sugar': <module 'zmq.sugar' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/sugar/__init__.py'>, 'zmq.sugar.constants': <module 'zmq.sugar.constants' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/sugar/constants.py'>, 'zmq.utils.constant_names': <module 'zmq.utils.constant_names' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/utils/constant_names.py'>, 'zmq.sugar.context': <module 'zmq.sugar.context' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/sugar/context.py'>, 'zmq.sugar.attrsettr': <module 'zmq.sugar.attrsettr' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/sugar/attrsettr.py'>, 'zmq.sugar.socket': <module 'zmq.sugar.socket' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/sugar/socket.py'>, 'zmq.sugar.poll': <module 'zmq.sugar.poll' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/sugar/poll.py'>, 'zmq.sugar.frame': <module 'zmq.sugar.frame' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/sugar/frame.py'>, 'zmq.sugar.tracker': <module 'zmq.sugar.tracker' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/sugar/tracker.py'>, 'zmq.sugar.version': <module 'zmq.sugar.version' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/sugar/version.py'>, 'zmq.sugar.stopwatch': <module 'zmq.sugar.stopwatch' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/sugar/stopwatch.py'>, 'jupyter_client.localinterfaces': <module 'jupyter_client.localinterfaces' from '/home/zas/anaconda3/lib/python3.6/site-packages/jupyter_client/localinterfaces.py'>, 'jupyter_core': <module 'jupyter_core' from '/home/zas/anaconda3/lib/python3.6/site-packages/jupyter_core/__init__.py'>, 'jupyter_core.version': <module 'jupyter_core.version' from '/home/zas/anaconda3/lib/python3.6/site-packages/jupyter_core/version.py'>, 'jupyter_core.paths': <module 'jupyter_core.paths' from '/home/zas/anaconda3/lib/python3.6/site-packages/jupyter_core/paths.py'>, 'jupyter_client.launcher': <module 'jupyter_client.launcher' from '/home/zas/anaconda3/lib/python3.6/site-packages/jupyter_client/launcher.py'>, 'traitlets.log': <module 'traitlets.log' from '/home/zas/anaconda3/lib/python3.6/site-packages/traitlets/log.py'>, 'jupyter_client.client': <module 'jupyter_client.client' from '/home/zas/anaconda3/lib/python3.6/site-packages/jupyter_client/client.py'>, 'jupyter_client.channels': <module 'jupyter_client.channels' from '/home/zas/anaconda3/lib/python3.6/site-packages/jupyter_client/channels.py'>, 'jupyter_client.channelsabc': <module 'jupyter_client.channelsabc' from '/home/zas/anaconda3/lib/python3.6/site-packages/jupyter_client/channelsabc.py'>, 'jupyter_client.clientabc': <module 'jupyter_client.clientabc' from '/home/zas/anaconda3/lib/python3.6/site-packages/jupyter_client/clientabc.py'>, 'jupyter_client.manager': <module 'jupyter_client.manager' from '/home/zas/anaconda3/lib/python3.6/site-packages/jupyter_client/manager.py'>, 'jupyter_client.kernelspec': <module 'jupyter_client.kernelspec' from '/home/zas/anaconda3/lib/python3.6/site-packages/jupyter_client/kernelspec.py'>, 'jupyter_client.managerabc': <module 'jupyter_client.managerabc' from '/home/zas/anaconda3/lib/python3.6/site-packages/jupyter_client/managerabc.py'>, 'jupyter_client.blocking': <module 'jupyter_client.blocking' from '/home/zas/anaconda3/lib/python3.6/site-packages/jupyter_client/blocking/__init__.py'>, 'jupyter_client.blocking.client': <module 'jupyter_client.blocking.client' from '/home/zas/anaconda3/lib/python3.6/site-packages/jupyter_client/blocking/client.py'>, 'jupyter_client.blocking.channels': <module 'jupyter_client.blocking.channels' from '/home/zas/anaconda3/lib/python3.6/site-packages/jupyter_client/blocking/channels.py'>, 'jupyter_client.multikernelmanager': <module 'jupyter_client.multikernelmanager' from '/home/zas/anaconda3/lib/python3.6/site-packages/jupyter_client/multikernelmanager.py'>, 'uuid': <module 'uuid' from '/home/zas/anaconda3/lib/python3.6/uuid.py'>, 'ctypes.util': <module 'ctypes.util' from '/home/zas/anaconda3/lib/python3.6/ctypes/util.py'>, 'ipykernel.kernelapp': <module 'ipykernel.kernelapp' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipykernel/kernelapp.py'>, 'tornado': <module 'tornado' from '/home/zas/anaconda3/lib/python3.6/site-packages/tornado/__init__.py'>, 'tornado.ioloop': <module 'tornado.ioloop' from '/home/zas/anaconda3/lib/python3.6/site-packages/tornado/ioloop.py'>, 'numbers': <module 'numbers' from '/home/zas/anaconda3/lib/python3.6/numbers.py'>, 'tornado.concurrent': <module 'tornado.concurrent' from '/home/zas/anaconda3/lib/python3.6/site-packages/tornado/concurrent.py'>, 'tornado.log': <module 'tornado.log' from '/home/zas/anaconda3/lib/python3.6/site-packages/tornado/log.py'>, 'logging.handlers': <module 'logging.handlers' from '/home/zas/anaconda3/lib/python3.6/logging/handlers.py'>, 'tornado.escape': <module 'tornado.escape' from '/home/zas/anaconda3/lib/python3.6/site-packages/tornado/escape.py'>, 'tornado.util': <module 'tornado.util' from '/home/zas/anaconda3/lib/python3.6/site-packages/tornado/util.py'>, 'curses': <module 'curses' from '/home/zas/anaconda3/lib/python3.6/curses/__init__.py'>, '_curses': <module '_curses' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/_curses.cpython-36m-x86_64-linux-gnu.so'>, 'tornado.stack_context': <module 'tornado.stack_context' from '/home/zas/anaconda3/lib/python3.6/site-packages/tornado/stack_context.py'>, 'concurrent': <module 'concurrent' from '/home/zas/anaconda3/lib/python3.6/concurrent/__init__.py'>, 'concurrent.futures': <module 'concurrent.futures' from '/home/zas/anaconda3/lib/python3.6/concurrent/futures/__init__.py'>, 'concurrent.futures._base': <module 'concurrent.futures._base' from '/home/zas/anaconda3/lib/python3.6/concurrent/futures/_base.py'>, 'concurrent.futures.process': <module 'concurrent.futures.process' from '/home/zas/anaconda3/lib/python3.6/concurrent/futures/process.py'>, 'multiprocessing': <module 'multiprocessing' from '/home/zas/anaconda3/lib/python3.6/multiprocessing/__init__.py'>, 'multiprocessing.context': <module 'multiprocessing.context' from '/home/zas/anaconda3/lib/python3.6/multiprocessing/context.py'>, 'multiprocessing.process': <module 'multiprocessing.process' from '/home/zas/anaconda3/lib/python3.6/multiprocessing/process.py'>, 'multiprocessing.reduction': <module 'multiprocessing.reduction' from '/home/zas/anaconda3/lib/python3.6/multiprocessing/reduction.py'>, '__mp_main__': <module 'ipykernel_launcher' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipykernel_launcher.py'>, 'multiprocessing.connection': <module 'multiprocessing.connection' from '/home/zas/anaconda3/lib/python3.6/multiprocessing/connection.py'>, '_multiprocessing': <module '_multiprocessing' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/_multiprocessing.cpython-36m-x86_64-linux-gnu.so'>, 'multiprocessing.util': <module 'multiprocessing.util' from '/home/zas/anaconda3/lib/python3.6/multiprocessing/util.py'>, 'concurrent.futures.thread': <module 'concurrent.futures.thread' from '/home/zas/anaconda3/lib/python3.6/concurrent/futures/thread.py'>, 'asyncio': <module 'asyncio' from '/home/zas/anaconda3/lib/python3.6/asyncio/__init__.py'>, 'asyncio.base_events': <module 'asyncio.base_events' from '/home/zas/anaconda3/lib/python3.6/asyncio/base_events.py'>, 'asyncio.compat': <module 'asyncio.compat' from '/home/zas/anaconda3/lib/python3.6/asyncio/compat.py'>, 'asyncio.coroutines': <module 'asyncio.coroutines' from '/home/zas/anaconda3/lib/python3.6/asyncio/coroutines.py'>, 'asyncio.constants': <module 'asyncio.constants' from '/home/zas/anaconda3/lib/python3.6/asyncio/constants.py'>, 'asyncio.events': <module 'asyncio.events' from '/home/zas/anaconda3/lib/python3.6/asyncio/events.py'>, 'asyncio.base_futures': <module 'asyncio.base_futures' from '/home/zas/anaconda3/lib/python3.6/asyncio/base_futures.py'>, 'asyncio.log': <module 'asyncio.log' from '/home/zas/anaconda3/lib/python3.6/asyncio/log.py'>, 'asyncio.futures': <module 'asyncio.futures' from '/home/zas/anaconda3/lib/python3.6/asyncio/futures.py'>, 'asyncio.base_tasks': <module 'asyncio.base_tasks' from '/home/zas/anaconda3/lib/python3.6/asyncio/base_tasks.py'>, '_asyncio': <module '_asyncio' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/_asyncio.cpython-36m-x86_64-linux-gnu.so'>, 'asyncio.tasks': <module 'asyncio.tasks' from '/home/zas/anaconda3/lib/python3.6/asyncio/tasks.py'>, 'asyncio.locks': <module 'asyncio.locks' from '/home/zas/anaconda3/lib/python3.6/asyncio/locks.py'>, 'asyncio.protocols': <module 'asyncio.protocols' from '/home/zas/anaconda3/lib/python3.6/asyncio/protocols.py'>, 'asyncio.queues': <module 'asyncio.queues' from '/home/zas/anaconda3/lib/python3.6/asyncio/queues.py'>, 'asyncio.streams': <module 'asyncio.streams' from '/home/zas/anaconda3/lib/python3.6/asyncio/streams.py'>, 'asyncio.subprocess': <module 'asyncio.subprocess' from '/home/zas/anaconda3/lib/python3.6/asyncio/subprocess.py'>, 'asyncio.transports': <module 'asyncio.transports' from '/home/zas/anaconda3/lib/python3.6/asyncio/transports.py'>, 'asyncio.unix_events': <module 'asyncio.unix_events' from '/home/zas/anaconda3/lib/python3.6/asyncio/unix_events.py'>, 'asyncio.base_subprocess': <module 'asyncio.base_subprocess' from '/home/zas/anaconda3/lib/python3.6/asyncio/base_subprocess.py'>, 'asyncio.selector_events': <module 'asyncio.selector_events' from '/home/zas/anaconda3/lib/python3.6/asyncio/selector_events.py'>, 'ssl': <module 'ssl' from '/home/zas/anaconda3/lib/python3.6/ssl.py'>, 'ipaddress': <module 'ipaddress' from '/home/zas/anaconda3/lib/python3.6/ipaddress.py'>, '_ssl': <module '_ssl' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so'>, 'base64': <module 'base64' from '/home/zas/anaconda3/lib/python3.6/base64.py'>, 'asyncio.sslproto': <module 'asyncio.sslproto' from '/home/zas/anaconda3/lib/python3.6/asyncio/sslproto.py'>, 'tornado.platform': <module 'tornado.platform' from '/home/zas/anaconda3/lib/python3.6/site-packages/tornado/platform/__init__.py'>, 'tornado.platform.auto': <module 'tornado.platform.auto' from '/home/zas/anaconda3/lib/python3.6/site-packages/tornado/platform/auto.py'>, 'tornado.platform.posix': <module 'tornado.platform.posix' from '/home/zas/anaconda3/lib/python3.6/site-packages/tornado/platform/posix.py'>, 'tornado.platform.common': <module 'tornado.platform.common' from '/home/zas/anaconda3/lib/python3.6/site-packages/tornado/platform/common.py'>, 'tornado.platform.interface': <module 'tornado.platform.interface' from '/home/zas/anaconda3/lib/python3.6/site-packages/tornado/platform/interface.py'>, 'zmq.eventloop': <module 'zmq.eventloop' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/eventloop/__init__.py'>, 'zmq.eventloop.ioloop': <module 'zmq.eventloop.ioloop' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/eventloop/ioloop.py'>, 'tornado.platform.asyncio': <module 'tornado.platform.asyncio' from '/home/zas/anaconda3/lib/python3.6/site-packages/tornado/platform/asyncio.py'>, 'tornado.gen': <module 'tornado.gen' from '/home/zas/anaconda3/lib/python3.6/site-packages/tornado/gen.py'>, 'zmq.eventloop.zmqstream': <module 'zmq.eventloop.zmqstream' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/eventloop/zmqstream.py'>, 'zmq.utils.jsonapi': <module 'zmq.utils.jsonapi' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/utils/jsonapi.py'>, 'ipykernel.iostream': <module 'ipykernel.iostream' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipykernel/iostream.py'>, 'jupyter_client.session': <module 'jupyter_client.session' from '/home/zas/anaconda3/lib/python3.6/site-packages/jupyter_client/session.py'>, 'hmac': <module 'hmac' from '/home/zas/anaconda3/lib/python3.6/hmac.py'>, 'jupyter_client.jsonutil': <module 'jupyter_client.jsonutil' from '/home/zas/anaconda3/lib/python3.6/site-packages/jupyter_client/jsonutil.py'>, 'dateutil': <module 'dateutil' from '/home/zas/anaconda3/lib/python3.6/site-packages/dateutil/__init__.py'>, 'dateutil._version': <module 'dateutil._version' from '/home/zas/anaconda3/lib/python3.6/site-packages/dateutil/_version.py'>, 'dateutil.parser': <module 'dateutil.parser' from '/home/zas/anaconda3/lib/python3.6/site-packages/dateutil/parser/__init__.py'>, 'dateutil.parser._parser': <module 'dateutil.parser._parser' from '/home/zas/anaconda3/lib/python3.6/site-packages/dateutil/parser/_parser.py'>, 'calendar': <module 'calendar' from '/home/zas/anaconda3/lib/python3.6/calendar.py'>, 'decimal': <module 'decimal' from '/home/zas/anaconda3/lib/python3.6/decimal.py'>, '_decimal': <module '_decimal' from '/home/zas/anaconda3/lib/python3.6/lib-dynload/_decimal.cpython-36m-x86_64-linux-gnu.so'>, 'dateutil.relativedelta': <module 'dateutil.relativedelta' from '/home/zas/anaconda3/lib/python3.6/site-packages/dateutil/relativedelta.py'>, 'dateutil._common': <module 'dateutil._common' from '/home/zas/anaconda3/lib/python3.6/site-packages/dateutil/_common.py'>, 'dateutil.tz': <module 'dateutil.tz' from '/home/zas/anaconda3/lib/python3.6/site-packages/dateutil/tz/__init__.py'>, 'dateutil.tz.tz': <module 'dateutil.tz.tz' from '/home/zas/anaconda3/lib/python3.6/site-packages/dateutil/tz/tz.py'>, 'dateutil.tz._common': <module 'dateutil.tz._common' from '/home/zas/anaconda3/lib/python3.6/site-packages/dateutil/tz/_common.py'>, 'dateutil.tz._factories': <module 'dateutil.tz._factories' from '/home/zas/anaconda3/lib/python3.6/site-packages/dateutil/tz/_factories.py'>, 'dateutil.parser.isoparser': <module 'dateutil.parser.isoparser' from '/home/zas/anaconda3/lib/python3.6/site-packages/dateutil/parser/isoparser.py'>, '_strptime': <module '_strptime' from '/home/zas/anaconda3/lib/python3.6/_strptime.py'>, 'jupyter_client.adapter': <module 'jupyter_client.adapter' from '/home/zas/anaconda3/lib/python3.6/site-packages/jupyter_client/adapter.py'>, 'ipykernel.heartbeat': <module 'ipykernel.heartbeat' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipykernel/heartbeat.py'>, 'ipykernel.ipkernel': <module 'ipykernel.ipkernel' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipykernel/ipkernel.py'>, 'IPython.utils.tokenutil': <module 'IPython.utils.tokenutil' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/utils/tokenutil.py'>, 'ipykernel.comm': <module 'ipykernel.comm' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipykernel/comm/__init__.py'>, 'ipykernel.comm.manager': <module 'ipykernel.comm.manager' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipykernel/comm/manager.py'>, 'ipykernel.comm.comm': <module 'ipykernel.comm.comm' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipykernel/comm/comm.py'>, 'ipykernel.kernelbase': <module 'ipykernel.kernelbase' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipykernel/kernelbase.py'>, 'ipykernel.jsonutil': <module 'ipykernel.jsonutil' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipykernel/jsonutil.py'>, 'ipykernel.zmqshell': <module 'ipykernel.zmqshell' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipykernel/zmqshell.py'>, 'IPython.core.payloadpage': <module 'IPython.core.payloadpage' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/payloadpage.py'>, 'ipykernel.displayhook': <module 'ipykernel.displayhook' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipykernel/displayhook.py'>, 'ipykernel.parentpoller': <module 'ipykernel.parentpoller' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipykernel/parentpoller.py'>, 'faulthandler': <module 'faulthandler' (built-in)>, 'ipykernel.datapub': <module 'ipykernel.datapub' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipykernel/datapub.py'>, 'ipykernel.serialize': <module 'ipykernel.serialize' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipykernel/serialize.py'>, 'ipykernel.pickleutil': <module 'ipykernel.pickleutil' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipykernel/pickleutil.py'>, 'ipykernel.codeutil': <module 'ipykernel.codeutil' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipykernel/codeutil.py'>, 'IPython.core.completerlib': <module 'IPython.core.completerlib' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/core/completerlib.py'>, 'storemagic': <module 'storemagic' from '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/extensions/storemagic.py'>, 'ipywidgets': <module 'ipywidgets' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/__init__.py'>, 'ipywidgets._version': <module 'ipywidgets._version' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/_version.py'>, 'ipywidgets.widgets': <module 'ipywidgets.widgets' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/widgets/__init__.py'>, 'ipywidgets.widgets.widget': <module 'ipywidgets.widgets.widget' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/widgets/widget.py'>, 'ipywidgets.widgets.domwidget': <module 'ipywidgets.widgets.domwidget' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/widgets/domwidget.py'>, 'ipywidgets.widgets.trait_types': <module 'ipywidgets.widgets.trait_types' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/widgets/trait_types.py'>, 'ipywidgets.widgets.widget_layout': <module 'ipywidgets.widgets.widget_layout' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/widgets/widget_layout.py'>, 'ipywidgets.widgets.widget_style': <module 'ipywidgets.widgets.widget_style' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/widgets/widget_style.py'>, 'ipywidgets.widgets.valuewidget': <module 'ipywidgets.widgets.valuewidget' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/widgets/valuewidget.py'>, 'ipywidgets.widgets.widget_core': <module 'ipywidgets.widgets.widget_core' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/widgets/widget_core.py'>, 'ipywidgets.widgets.widget_bool': <module 'ipywidgets.widgets.widget_bool' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/widgets/widget_bool.py'>, 'ipywidgets.widgets.widget_description': <module 'ipywidgets.widgets.widget_description' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/widgets/widget_description.py'>, 'ipywidgets.widgets.widget_button': <module 'ipywidgets.widgets.widget_button' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/widgets/widget_button.py'>, 'ipywidgets.widgets.widget_box': <module 'ipywidgets.widgets.widget_box' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/widgets/widget_box.py'>, 'ipywidgets.widgets.docutils': <module 'ipywidgets.widgets.docutils' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/widgets/docutils.py'>, 'ipywidgets.widgets.widget_float': <module 'ipywidgets.widgets.widget_float' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/widgets/widget_float.py'>, 'ipywidgets.widgets.widget_int': <module 'ipywidgets.widgets.widget_int' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/widgets/widget_int.py'>, 'ipywidgets.widgets.widget_image': <module 'ipywidgets.widgets.widget_image' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/widgets/widget_image.py'>, 'ipywidgets.widgets.widget_color': <module 'ipywidgets.widgets.widget_color' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/widgets/widget_color.py'>, 'ipywidgets.widgets.widget_date': <module 'ipywidgets.widgets.widget_date' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/widgets/widget_date.py'>, 'ipywidgets.widgets.widget_output': <module 'ipywidgets.widgets.widget_output' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/widgets/widget_output.py'>, 'ipywidgets.widgets.widget_selection': <module 'ipywidgets.widgets.widget_selection' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/widgets/widget_selection.py'>, 'ipywidgets.widgets.widget_selectioncontainer': <module 'ipywidgets.widgets.widget_selectioncontainer' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/widgets/widget_selectioncontainer.py'>, 'ipywidgets.widgets.widget_string': <module 'ipywidgets.widgets.widget_string' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/widgets/widget_string.py'>, 'ipywidgets.widgets.widget_controller': <module 'ipywidgets.widgets.widget_controller' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/widgets/widget_controller.py'>, 'ipywidgets.widgets.interaction': <module 'ipywidgets.widgets.interaction' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/widgets/interaction.py'>, 'ipywidgets.widgets.widget_link': <module 'ipywidgets.widgets.widget_link' from '/home/zas/anaconda3/lib/python3.6/site-packages/ipywidgets/widgets/widget_link.py'>, 'zmq.utils.garbage': <module 'zmq.utils.garbage' from '/home/zas/anaconda3/lib/python3.6/site-packages/zmq/utils/garbage.py'>}

sys.path  = ['', '/home/zas/anaconda3/lib/python36.zip', '/home/zas/anaconda3/lib/python3.6', '/home/zas/anaconda3/lib/python3.6/lib-dynload', '/home/zas/anaconda3/lib/python3.6/site-packages', '/home/zas/anaconda3/lib/python3.6/site-packages/IPython/extensions', '/home/zas/.ipython']

sys.platform  = linux

sys.stdin  = <_io.TextIOWrapper name='<stdin>' mode='r' encoding='UTF-8'>

sys.stdout  = <ipykernel.iostream.OutStream object at 0x7f33edc001d0>

sys.stderr  = <ipykernel.iostream.OutStream object at 0x7f33edc006d8>

os

os Variables

os.<variable_name>


In [3]:
import os
print("os.altsep  = {}".format(os.altsep))  # Alternative Separator
print("os.curdir  = {}".format(os.curdir))  # Current dir string
print("os.defpath = {}".format(os.defpath)) # Default search path
print("os.devnull = {}".format(os.devnull)) # Path of null device
print("os.extsep  = {}".format(os.extsep))  # Extension separator
print("os.linesep = {}".format(os.linesep)) # Line separator
print("os.name    = {}".format(os.name))    # Name of os (posix, nt, mac, os2, ce, java, riscos)
print("os.pardir  = {}".format(os.pardir))  # Parent dir string
print("os.pathsep = {}".format(os.pathsep)) # Patch separator
print("os.sep     = {}".format(os.sep))     # Path separator


os.altsep  = None
os.curdir  = .
os.defpath = :/bin:/usr/bin
os.devnull = /dev/null
os.extsep  = .
os.linesep = 

os.name    = posix
os.pardir  = ..
os.pathsep = :
os.sep     = /

In [ ]:
import os
path = "/usr/tmp"
wd = os.getcwd()       # Store the name of current directory in a string
os.listdir(wd)         # Output contents of the directory in a list
os.chdir(path)         # Change current working directory
os.rename("test1.txt", "test2.txt") # Rename a file
os.remove("test1.txt") # Delete an existing file
os.mkdir("newdir")     # Create a new directory

In [ ]:
os.getcwd()              # Return actual working directory
os.listdir()             # Return Names of all files and folders from the given loction
os.getenv()              # Read environment variables
os.putenv()              # Write environment variables
os.remove(file)          # delete file
os.sysrtem()             # put the command into the Terminal
os.path.split(filepath)  # Returns location and filename
os.path.isfile(filepath) # Check if location is a file
os.path.isdir(path)      # Check if location is a folder
os.path.exist(path|file) # Check if location exists
os.path.splitext(file)   # Splits filename and extention file, ext = os.path.splitext(f)
os.path.dirname(path)    # Directory name

Search within folder


In [ ]:
for dirpath, dirnames, filenames in os.walk(folder_location):
    # dirpath = root dir of file
    # dirnames = [] list of dirs in dirpath
    # filenames = [] list of files in dirpath
    pass

os.path examples


In [4]:
path_win = "C://user/file.txt"
path_lin = "/home/user/file.txt"
print("os.path.basename(path_win) = {}".format(os.path.basename(path_win)))
print("os.path.dirname(path_win)  = {}".format(os.path.dirname(path_win)))
print("os.path.split(path_win)    = {}".format(os.path.split(path_win)))
print("os.path.splitext(path_win) = {}".format(os.path.splitext(path_win)))

print("os.path.basename(path_lin) = {}".format(os.path.basename(path_lin)))
print("os.path.dirname(path_lin)  = {}".format(os.path.dirname(path_lin)))
print("os.path.split(path_lin)    = {}".format(os.path.split(path_lin)))
print("os.path.splitext(path_lin) = {}".format(os.path.splitext(path_lin)))


os.path.basename(path_win) = file.txt
os.path.dirname(path_win)  = C://user
os.path.split(path_win)    = ('C://user', 'file.txt')
os.path.splitext(path_win) = ('C://user/file', '.txt')
os.path.basename(path_lin) = file.txt
os.path.dirname(path_lin)  = /home/user
os.path.split(path_lin)    = ('/home/user', 'file.txt')
os.path.splitext(path_lin) = ('/home/user/file', '.txt')

re | RegExp


In [25]:
import re
def myRegEx_Checker(expression,data):
    reg=re.compile(expression);
    if reg.match(data):
        return True
    return False

In [27]:
# replace multiple space with one                
ans = re.sub("\s+"," ",  "   Python  Regexpr   ")    # " Python Regexpr "
print(ans)
# remove front and leading spaces
ans = re.sub("^\s+|\s+$","",  "   Regexpr     ")     # "Regexpr"
print(ans)
# remove comment (# or -- or //) and all after it
ans = re.sub("(--|#|//).*","",  "Regexpr --comment") # "Regexpr "
print(ans)
# search only
ans = re.findall("(\d{1,2}\/\d{1,2}\/\d{4})", "asdfsadf31/02/2012dsfsdf") # Date (e.g. 31/3/2006))
print(ans)


 Python Regexpr 
Regexpr
Regexpr 
['31/02/2012']

time


In [10]:
import time
print("time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime())           = {}".format(time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime())))
print("time.strftime('%Y-%m-%d %H:%M:%S', time.localtime())        = {}".format(time.strftime('%Y-%m-%d %H:%M:%S', time.localtime())))
print("time.strftime('%a, %d %b %Y %H:%M:%S +0000', time.gmtime()) = {}".format(time.strftime('%a, %d %b %Y %H:%M:%S +0000', time.gmtime())))


time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime())           = 2018-12-29 14:26:31
time.strftime('%Y-%m-%d %H:%M:%S', time.localtime())        = 2018-12-29 15:26:31
time.strftime('%a, %d %b %Y %H:%M:%S +0000', time.gmtime()) = Sat, 29 Dec 2018 14:26:31 +0000

In [24]:
import time
time.sleep(6)    # Sleep for  6 sec
time.sleep(0.05) # Sleep for 50 ms

random


In [23]:
import random
     
# Random number between 0.0 and 1.0
print("random.random()       = {}".format(random.random()))
     
# Uniform random number between a and b  (a <= x < b)
# random.uniform(a, b)
print("random.uniform(1, 10) = {} ".format(random.uniform(1, 10)))
     
# Gauss random number of mean value "mu" and standard deviation "sigma"
# random.gauss(mu, sigma)
print("random.gauss(5, 2)    = {} ".format(random.gauss(5, 2)))
     
# Other functions
# random.betavariate(alpha, beta)    # Beta deviation
# random.expovariate(lambd)          # Exponential deviation
# random.gammavariate(alpha, beta)   # Gamma-deviation
# random.lognormvariate(mu, sigma)   # logarithmische deviation
# random.vonmisesvariate(mu, kappa)  # Von-Mises-deviation
# random.paretovariate(alpha)        # Pareto-deviation
# random.weibullvariate(alpha, beta) # Weibull-deviation
     
# Random integer between a and b (a <= x <= b) like throw dice
# random.randint(a, b)
print("random.randint(1, 6)  = {} ".format(random.randint(1, 6)))
     
# Random picked number of a list
# random.randrange( [start,] stop[, step])
print("random.randrange(0, 1000, 3) = {}".format(random.randrange(0, 1000, 3)))


random.random()       = 0.6422317227128667
random.uniform(1, 10) = 4.917188750221629 
random.gauss(5, 2)    = 1.97424559596762 
random.randint(1, 6)  = 5 
random.randrange(0, 1000, 3) = 369